<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta http-equiv="x-ua-compatible" content="ie=7" />
		<title>栏目管理</title>
		<script type="text/javascript" src="../../dwr/engine.js"></script>
		<script type="text/javascript" src="../../lovejes/lovejes.js"></script>
		<script type="text/javascript" src="../js/jes_sys.js"></script>
		<script type="text/javascript" src="../js/jesfmenu.js"></script>
		<script type="text/javascript" src="../../lovejes/tree/ajaxtree/js/ajaxtree.js"></script>
		<script type="text/javascript" src="../../lovejes/tree/ajaxtree/js/context-menu.js"></script>
		<link rel="stylesheet" href="../../lovejes/tree/ajaxtree/css/ajaxtree.css" type="text/css">
		<link rel="stylesheet" href="../../lovejes/tree/ajaxtree/css/context-menu.css" type="text/css">
		<link href="../../jesacl/themes/default/css/config_1.css" rel="stylesheet" type="text/css">
	</head>
	<body onload="Jes.Fmenu.init();"><form name="form1" id="form1" method="post" action="">
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" >
		<tr>
			<td valign="top" height="100%"><!--height 100% -->
				<!--left begin-->
				<table width="100%" height="100%" border="1" cellspacing="0" cellpadding="0">
					<tr>
						<td height="100%">
							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
								<tr>
									<th align="left"><h3><img src="../../jesacl/themes/default/images/Contacts.gif" width="16" height="16">栏目架构</h3></th>
								</tr>
								<tr>
								  <td>
								  &nbsp;&nbsp;<img src="../../jesacl/themes/default/images/shou.gif" width="15" height="14" /><a href="javascript:collapseAll('ajax_tree');">收缩</a>
								  &nbsp;&nbsp;<img src="../../jesacl/themes/default/images/shou2.gif" width="16" height="16" /><a href="javascript:expandAll('ajax_tree');" >展开</a>
								  &nbsp;&nbsp;<img src="../../jesacl/themes/default/images/buycar_list_17.gif" width="16" height="13" /><a href="javascript:Jes.Fmenu.sync();">内存同步</a>
								  </td>
								</tr>
								<tr>
									<td height ="90%">
										<div id="fmenu_tree" style="font-size:13px;overflow:auto;width:250px;height:100%"></div>
										<ul id="contextMenu">
											<li><a href="#" onclick="addNewNode(event);return false">添加</a></li>
											<li><a href="#" onclick="editNode(event);return false">修改</a></li>
											<li><a href="#" onclick="deleteNode(event);return false">删除</a></li>
										</ul>
									</td>
								</tr>
								<tr>
								  <td>&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!--left end-->
			</td>
			<td valign="top" align="left" width="100%" height="100%">
				<div id="div_detail" style="display:none">

				</div>
			</td>
		</tr>
	</table>
	<!--论坛菜单ID-->
	<input type="hidden" title="fmenuid" id="fmenuid" name="fmenuid">
	</form>
	<div id="div_list" style="display:none">
	<!---------------------------->
		<!-- query user begin -->
		<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center"><!--center normal null-->
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
						<tr>
							<th align="left" colspan="4"><h3><img src="../../jesacl/themes/default/images/Contacts.gif" width="16" height="16"><span id="info_title">信息管理</span></h3></th>
						</tr>
						<tr>
							<td width='15%'>主题:</td>
							<td width='30%'><input type="text" id="subject" name="subject" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"></td>
							<td width='15%'>关键字:</td>
							<td><input type="text" id="keywords" name="keywords" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25">
							</td>
						</tr>
						<tr>
						  <td>&nbsp;</td>
						  <td></td>
						  <td>&nbsp;</td>
						  <td>&nbsp;</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center" style="">
			<tr>
				<td style="padding:5px 3px">
					<input title="Search [Alt+S]" accessKey="S" class="button" type="button" id="search" name="search" onclick="Jes.Topic.query();" value="  查询  ">
					<input title="Reset [Alt+R]" accessKey="R" class="button" type="button" id="reset" name="reset" onclick="Jes.reset();" value="  重置  " >
					<input title="Add [Alt+A]" accessKey="A" class="button" type="button" id="add1" name="add1" onclick="Jes.Topic.open('op');" value="  新增  " >
					<input title="Delete [Alt+D]" accessKey="D" class="button" type="button" id="del" name="del" onclick="Jes.Topic.del();" value="  删除  " >
					<input title="Close [Alt+C]" accessKey="C" class="button" type="button" id="close" name="close" value="  关闭  ">
				</td>
				<td align='right'></td>
			</tr>
		</table>
		<div id="page_top1" align="right" style="width:99%"></div>
		<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" id="ta_query1" class="q_table">
			<colgroup id="colgroup1">
				<!--出来一个完整的 exp 要修改expId tableVal--colVal -->
				<col tableId="id" expVal="" tableType="checkbox" align="center"></col>
				<col tableId="subject" expVal="" align="center"></col>
				<col tableId="keywords" expVal="" align="center"></col>
				<col tableId="posttime" expVal="" align="center"></col>
				<col tableId="clicks" expVal="" align="center"></col>
				<col tableId="username" expVal="" align="center"></col>
				<col tableId="op" expVal="" tableType="op" tableVal="['javascript:void(0)','编辑|edit.gif','Jes.Topic.open([op],[#id]);']" align="center"></col>
			</colgroup>
			<thead>
				<tr>
					<td width="10%" align="center" valign="middle"><input type="checkbox" id="chkall1" onclick="Jes.all('id');" class="checkbox">全选</td>
					<td width="25%" align="center" valign="middle">主题</td>
					<td width="15%" align="center" valign="middle">关键字</td>
					<td width="15%" align="center" valign="middle">发布时间</td>
					<td width="15%" align="center" valign="middle">点击数</td>
					<td width="10%" align="center" valign="middle">发布人</td>
					<td width="10%" align="center" valign="middle">操作</td>
				</tr>
			</thead>
			<tbody id="tb_query1"></tbody>
		</table>
	<!---------------------------->
	</div>
	<div id="div_op" style="display:none">
					<table cellpadding="0" cellspacing="0" border="0" width="100%">
						<tr>
							<td style="padding-bottom: 2px;" id="op_button">
								<input class="button" type="button" id="add" name="add" value="  保存  "  onclick="Jes.Fmenu.save();"/>
								<input title="Close [Alt+C]" accessKey="C" class="button" type="button" id="close" name="close" onclick="Jes.hide('div_detail');" value="  关闭  "></td>
							<td align="right" nowrap><span class="required">*</span> 必需</td>
							<td align='right'></td>
						</tr>
					</table>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table1">
									<tr>
										<th align="left" colspan="4"><h3><img src="../../jesacl/themes/default/images/Contacts.gif" width="16" height="16"><span id="op_title">栏目菜单新增</span></h3></th>
									</tr>
									<tr>
										<td width='15%'>栏目名称:</td>
										<td width='35%'><input type="text" title="栏目名称" notnull id="name" name="name" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"> <span class="notnull">*</span></td>
										<td>上级栏目名称:</td>
										<td width='35%'><input type="text" id='pname' name="pname" class="iptRead" readOnly size="25"></td>
									</tr>
									<tr>
										<td>栏目状态:</td>
										<td>
										<select title="栏目状态" notnull id="status" name="status" class="input">
											<option value="1">启用</option>
											<option value="2">禁用</option>
										</select><span class="notnull">*</span>
										</td>
										<td>栏目次序:</td>
										<td><input title="栏目次序" title="栏目次序" notnull rule="int" type="text" id="orderidx" name="orderidx" value="0" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="3"> <span class="notnull">*</span></td>
									</tr>
									<tr>
										<td>栏目是否图片显示:</td>
										<td>
											<select title="栏目是否图片显示" id="ispic" name="ispic" class="input" onchange="Jes.Fmenu.sel('ispic');">
												<option value="0">否</option>
												<option value="1">是</option>
											</select>
											<br/>
											<div id="ispic_div" style="display:none">
												请上传图片<input type="button" id="uppic" name="uppic" value="上 传" class="button_blue" onclick="Jes.Upload.open({id:'ta_query1_pic',type:'img',num:1,width:217,height:62});">
												<table width="100%"><tbody id="ta_query1_pic"></tbody></table>
											</div>
										</td>
										<td>栏目是否链接显示:</td>
										<td>
											<select title="栏目是否链接显示" id="islink" name="islink" class="input" onchange="Jes.Fmenu.sel('islink');">
												<option value="0">否</option>
												<option value="1">是</option>
											</select>
											<br/>
											<div id="islink_div" style="display:none">链接地址:<input type="text" title="链接地址" notnull rulePre="islink=1" id="linkurl" name="linkurl" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="25"><span class="notnull">*</span></div>
										</td>
									</tr>
									<tr>
										<td>栏目是否显示NEW:</td>
										<td>
										<select title="栏目是否显示NEW" id="isnew" name="isnew" class="input" onchange="Jes.Fmenu.sel('isnew');">
											<option value="0">否</option>
											<option value="1">是</option>
										</select>
										<div id="isnew_div" style="display:none">天数:<input type="text" title="栏目NEW天数" notnull rulePre="isnew=1" id="newday" name="newday" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="3" value="3"> <span class="notnull">*</span></div>
										</td>
										<td>信息是否显示NEW:</td>
										<td>
										<select title="信息是否显示NEW" id="istnew" name="istnew" class="input" onchange="Jes.Fmenu.sel('istnew');">
											<option value="0">否</option>
											<option value="1">是</option>
										</select>
										<div id="istnew_div" style="display:none">天数:<input type="text" title="信息NEW天数" notnull rulePre="istnew=1" id="tnewday" name="tnewday" class="input" onblur="this.className='pass';" onfocus="this.className='lave';" size="3" value="3"> <span class="notnull">*</span></div>
										</td>
									</tr>
									<tr>
										<td>信息是否有缩图:</td>
										<td>
										<select title="信息是否有缩图" id="istpic" name="istpic" class="input">
											<option value="0">否</option>
											<option value="1">是</option>
										</select>
										</td>
										<td>信息是否需要过期:</td>
										<td>
										<select title="信息是否需要过期" id="istdue" name="istdue" class="input">
											<option value="0">否</option>
											<option value="1">是</option>
										</select>
										</td>
									</tr>
									<tr>
										<td>信息是否为视频类:</td>
										<td>
										<select title="信息是否为视频类" id="istvideo" name="istvideo" class="input">
											<option value="0">否</option>
											<option value="1">是</option>
										</select>
										</td>
										<td>&nbsp;</td>
										<td>&nbsp;</td>
									</tr>
									<tr>
										<td>备注:</td>
										<td colspan="2"><textarea title="备注" id="remark" name="remark" cols='65' rows='4' class="input" onblur="this.className='pass';" onfocus="this.className='lave';"></textarea><span class="notnull">*</span></td>
									</tr>
									<tr>
									  <td>&nbsp;</td>
									  <td>
								          <input type="hidden" title="id" id="id" name="id">
								          <input type="hidden" title="parentid" id="parentid" name="parentid">
								          <input type="hidden" title="createtime" id="createtime" name="createtime" dataType="time" value="new">
								          <input type="hidden" title="modifytime" id="modifytime" name="modifytime" dataType="time" value="now">
									  </td>
									  <td>&nbsp;</td>
									  <td>&nbsp;</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
	</div>
	</body>
</html>
